package
{
	import assets.Controle;
	import assets.Kaarten;
	
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	
	import view.View;
	
	[SWF(width='800', height='600')]
	public class Main extends Sprite
	{
		//properties
		private var view:View;
		private var kaarten:Kaarten;
		private var controle:Controle;
		
		public function Main()
		{
			stage.scaleMode = StageScaleMode.NO_SCALE;
			stage.align = StageAlign.TOP_LEFT;
			stage.nativeWindow.visible = true;
			
			view = new View();
			addChild(view);
			
			kaarten = new Kaarten();
			
			controle = new Controle();
		}
	}
}